import Vue from 'vue';
import VueRouter from 'vue-router';
import CinemaRoute from './Cinema';
import MovieRoute from './Movie';
import MineRoute from './Mine';
Vue.use(VueRouter)

export default new VueRouter({
    mode:'history',
    routes:[
        CinemaRoute,
        MovieRoute,
        MineRoute,
        {
            path:'/*',
            redirect:'/movie/'
        }
    ]
})